package me.sauce.folkpocket48.data.remote.bean.result;

import java.util.List;

import me.sauce.folkpocket48.data.remote.bean.base.BaseResult;

/**
 * @author sauceWu
 * @since 2018/2/11 15:24
 */

public class LoginResult extends BaseResult<LoginResult.ContentBean> {


    public class ContentBean {
        /**
         * userInfo : {"userId":477193,"nickName":"uuuu","pocketId":"","avatar":"/mediasource/avatar/477193.jpg","experience":674,"level":3,"gender":2,"punchCardDay":1,"birthday":"1990-08-03","city":110105,"role":0,"starwo":false}
         * token : Vo93vI9NYcsfrZFWukE/S8CPoU/SyfmrZOVAk7fqtRN2NuzPBE61Ow==
         * bindInfo : [{"type":0,"thirdName":"我是陨石巨坑"},{"type":1,"thirdName":"UUUU"},{"type":2,"thirdName":"uuuu"},{"type":4,"thirdName":"18222656865"},{"type":3,"thirdName":"snh48022667847"}]
         * friends : [45,63,5567,5574,6735,6741,6744,6746,6747,63548,63554,63555,63557,63559,63566,63572,63574,327560,327565,327567,327571,327573,327575,327576,327579,327580,327585,327587,327596,327597,407103,528329,528334,652652]
         * todayPunchCard : true
         * functionIds : [2001,1003,2002,9001]
         */

        private UserInfoBean userInfo;
        private String token;
        private boolean todayPunchCard;
        private List<BindInfoBean> bindInfo;
        private List<Integer> friends;
        private List<Integer> functionIds;

        public UserInfoBean getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(UserInfoBean userInfo) {
            this.userInfo = userInfo;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public boolean isTodayPunchCard() {
            return todayPunchCard;
        }

        public void setTodayPunchCard(boolean todayPunchCard) {
            this.todayPunchCard = todayPunchCard;
        }

        public List<BindInfoBean> getBindInfo() {
            return bindInfo;
        }

        public void setBindInfo(List<BindInfoBean> bindInfo) {
            this.bindInfo = bindInfo;
        }

        public List<Integer> getFriends() {
            return friends;
        }

        public void setFriends(List<Integer> friends) {
            this.friends = friends;
        }

        public List<Integer> getFunctionIds() {
            return functionIds;
        }

        public void setFunctionIds(List<Integer> functionIds) {
            this.functionIds = functionIds;
        }

        public class UserInfoBean {
            /**
             * userId : 477193
             * nickName : uuuu
             * pocketId :
             * avatar : /mediasource/avatar/477193.jpg
             * experience : 674
             * level : 3
             * gender : 2
             * punchCardDay : 1
             * birthday : 1990-08-03
             * city : 110105
             * role : 0
             * starwo : false
             */

            private int userId;
            private String nickName;
            private String pocketId;
            private String avatar;
            private int experience;
            private int level;
            private int gender;
            private int punchCardDay;
            private String birthday;
            private int city;
            private int role;
            private boolean starwo;

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getPocketId() {
                return pocketId;
            }

            public void setPocketId(String pocketId) {
                this.pocketId = pocketId;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public int getExperience() {
                return experience;
            }

            public void setExperience(int experience) {
                this.experience = experience;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public int getPunchCardDay() {
                return punchCardDay;
            }

            public void setPunchCardDay(int punchCardDay) {
                this.punchCardDay = punchCardDay;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public int getCity() {
                return city;
            }

            public void setCity(int city) {
                this.city = city;
            }

            public int getRole() {
                return role;
            }

            public void setRole(int role) {
                this.role = role;
            }

            public boolean isStarwo() {
                return starwo;
            }

            public void setStarwo(boolean starwo) {
                this.starwo = starwo;
            }
        }

        public class BindInfoBean {
            /**
             * type : 0
             * thirdName : 我是陨石巨坑
             */

            private int type;
            private String thirdName;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getThirdName() {
                return thirdName;
            }

            public void setThirdName(String thirdName) {
                this.thirdName = thirdName;
            }
        }
    }
}
